import Mock from 'mockjs'

export default [
  {
    url: '/api/mockjs/getGoodsList',
    method: 'post',
    response: () => {
      return {
        code: 200,
        message: 'ok',
        data: Mock.mock({
          'array|1-10': [
            {
              'id|+1': 1,
              name: '旺旺雪米饼',
            },
          ],
        }),
      }
    },
  },
]
